//
// Created by wujehy on 2020/8/3.
//

#ifndef AUTH_RAFT_CLIENT_H
#define AUTH_RAFT_CLIENT_H

#include "NetWorkBase.h"

class Client : public NetWorkBase
{
    std::string host = "127.0.0.1";
    int port = 12345;
    handy::TcpConnPtr m_client;


    void initLister();

    void startTask();

public:
    void init() override;

    void deinit() override;
};


#endif //AUTH_RAFT_CLIENT_H
